${pojo.getPackageDeclaration().replace("entity","service")}
<#assign classbody>
<#assign declarationName = pojo.importType(pojo.getDeclarationName())>
<#assign entityName = declarationName?uncap_first>
@${pojo.importType("org.springframework.stereotype.Service")}
@${pojo.importType("org.springframework.transaction.annotation.Transactional")}

public class ${declarationName}Manager extends ${pojo.importType("com.lightsaber.trade.core.service.BaseServiceImpl")}<${declarationName}, ${pojo.getJavaTypeName(clazz.identifierProperty, true)}> {
	@${pojo.importType("org.springframework.beans.factory.annotation.Autowired")}
	private ${declarationName}Dao ${entityName}Dao;

    @Override
    protected ${pojo.importType("com.lightsaber.trade.core.dao.BaseDao")}<${declarationName}, ${pojo.getJavaTypeName(clazz.identifierProperty, true)}> getDao() {
        return ${entityName}Dao;
    }
}
</#assign>

${pojo.generateImports()}
import ${pojo.getQualifiedDeclarationName()};
import ${pojo.getQualifiedDeclarationName().replace("entity","dao")+"Dao"};
${classbody}
